package com.aaa.base.modules.visitor.ocr;

import java.util.Map;

/**
 * @author Marder
 * @date 2020-09-29 11:25
 */
public interface OcrService {

    /**
     * 识别身份证
     * @param filePath
     * @param side
     * @return
     */
    Map<String, String> recognizeIdCard(String filePath, String side);

    /**
     * 识别银行卡
     * @param filePath
     * @return
     */
    Map<String, String> recognizeBankCard(String filePath);

    /**
     * 识别车牌
     * @param filePath
     * @return
     */
    Map<String, String> recognizeLicensePlate(String filePath);

}
